package org.boge.sharpdoc.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.boge.sharpdoc.bean.DownloadHistory;

import java.util.List;

@Mapper
public interface DownloadHistoryDao {
    public List<DownloadHistory> findByUidAndDocid(@Param("phone") Long phone, @Param("docid") Integer docid);

    public Integer addItem(@Param("phone") Long phone, @Param("docid") Integer docid);

    public List<DownloadHistory> findAll();
}